package com.ssy.lingxi.report.api.enums;

/**
 * websocket消息类型枚举
 *
 * @author yzc
 * @version 2.0.0
 * @date 2020/7/10
 */
public enum WsMessageTypeEnum {


    /**
     * 未读消息数量 - 1
     */
    UNREAD(1, "未读消息数量"),

    /**
     *  展示消息 - 2
     */
    SHOW_MESSAGE(2, "展示消息");


    private final Integer code;
    private final String message;

    WsMessageTypeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
